.PHONY:all
all:tcpserver client

tcpserver:server.cpp
	g++ -o $@ $^ -std=c++11 -lpthread
client:client.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcpserver client